"""
@ProjectName : CourseManagementSystem
@File        : course.py
@Author      : WorldWind(1772830365@qq.com)
@Address     : ChangSha - BoWeiFeng
@Date        : 2025/7/17 下午1:35
"""


class Course:
    course_no = ''
    course_name = ''
    max_score = 0
    min_sorce = 0
    id = 0

    def __init__(self):
        print(f'This is __init__ method. {self.get_class_name()} class startup')

    @classmethod
    def get_class_name(cls):
        return cls.__name__

    def __del__(self):
        print(f'This is __del__ method. The {self.get_class_name()} class has been recycled')
